#include "../../Config.h"

#ifdef __COMPILE_LINUX__
#ifndef __OPENGLDRIVERLINUX_H__
#define __OPENGLDRIVERLINUX_H__

#include "../../include/IDriver.h"
#include "OpenGLDriver.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>

class COpenGLDriverLinux : public COpenGLDriver
{
private:
    Display *disp;
    Window *wnd;
public:
	COpenGLDriverLinux(StartDriverParams *DrvParams);
	~COpenGLDriverLinux();

	virtual void BeginRender();
	virtual void EndRender();

	void EnableOpenGL(Display *dsp,Window *win,StartDriverParams *DrvParams);
};

#endif
#endif
